package com.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 标书对应的多个供应商
 */
@Data
@TableName("t_bidd_supplier")
public class BiddSupplierEntity implements Serializable {


    @TableId(value = "pk_id", type = IdType.AUTO)
    private Long biddSupplierId;

    @TableField("b_biddRef")
    private String biddRef;//招标书编号

    @TableField("b_supplierName")
    private String supplierName;//供应商名


    @TableField("b_supplierRef")
    private long supplierRef;//供应商唯一编号

    @TableField(exist = false)
    private  SupplierEntity supplierEntity ;//供应商详情

    @TableField(exist = false)
    private  BiddEntity biddEntity ;//招标书详情
}
